package test.vo.uvMove
{
	import _Pan3D.program.Shader3D;
	
	public class UvMoveShader extends Shader3D
	{
		public static var UVMOVE_SHADER:String = "UvMoveShader";
		public function UvMoveShader()
		{
			vertex = 
				"m44 vt0, va0, vc4 \n" +
				"m44 op, vt0, vc0 \n" +
				"mov v1, va1";
			fragment =
				"mov ft1, v1 \n"+
				"add ft1.x,ft1.x,fc0.x \n"+
				"add ft1.y,ft1.y,fc0.y \n"+
				"tex ft1, ft1, fs1 <2d,clamp,repeat>\n"+
				"mov oc, ft1";
		}
	}
}